package com.yonyou.ucf.mdf.app.isvdxq.other.model;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProductDetailBean {
    private long id;
    private long productApplyRangeId;
    private long requireUnit;
    private long produceUnit;
    private long inspectionUnit;
    private long purchasePriceUnit;
    private long batchUnit;
    private long onlineUnit;
    private long purchaseUnit;
    private long offlineUnit;
    private long batchPriceUnit;
    private long stockUnit;
    private int demandConsolidationDateType;
    private int BOMType;
    private int serviceDurationUnit;
    private int demandConsolidationUnit;
    private int stockUnit_Precision;
    private int weighingMode;
    private int batchPolicy;
    private int depositDealPayType;
    private int batchRule;
    private int planDefaultAttribute;
    private int demandConsolidationType;
    private int retailPriceDimension;
    private String saleChannel;
    private String purchaseUnit_Name;
    private String batchUnit_Name;
    private String purchasePriceUnit_Name;
    private String onlineUnit_Name;
    private String inspectionUnit_Name;
    private String saleStyle;
    private String offlineUnit_Name;
    private String businessAttribute;
    private String shortName;
    private String mnemonicCode;
    private String batchPrice;
    private String fLowestMarkPrice;
    private String produceUnit_Name;
    private String requireUnit_Name;
    private String scanCountUnit;
    private String stockUnit_Name;
    private String batchPriceUnit_Name;
    private String pubts;
    private int depositPayType;
    private int valueManageType;
    private int demandConsolidationNumber;
    private int deliverQuantityChange;
    private int supplyType;
    private int demandConsolidation;
    private int orderAdvanceTime;
    private int enableStockPeriodRecheck;
    private int planMethod;
    private int isCheckFree;
    private int lossType;
    private int enableStockExpireCheck;
    private int supplyDemandPolicy;
    private Boolean reservation = false;
    private Boolean virtualPart = false;
    private Boolean enableDeposit = false;
    private Boolean enableSubscribe = false;
    private Boolean fixedReturn = false;
    private Boolean isRecommend = false;
    private Boolean canOrder = false;
    private Boolean canSale = false;
    private Boolean onlyOrder = false;
    private Boolean iEnableCyclePurchase = false;
    private Boolean materialCost = false;
    private Boolean specialMaterials = false;
    private Boolean salesReturnsExemption = false;
    private Boolean allowNegativeInventory = false;
    private Boolean isBatchManage;

    public Boolean getIsBatchManage() {
        return isBatchManage;
    }

    public void setIsBatchManage(Boolean isBatchManage) {
        this.isBatchManage = isBatchManage;
    }

    private String isExpiryDateManage;
    private String isBarcodeManage;
    private String isSerialNoManage;
    private String isDisplayPrice;
    private String isWeight;
    private String isPriceChangeAllowed;
    private String isSaleInOfflineStore;
    private String isMaterial;
    private String isProcess;
    private String isOfflineStoreReturn;
    private String isAllArea;
    private String isOfflineStoreOrder;
    private String prepareFeed;
    private String enablemodifyDeposit;
    private String iEnableEcontract;
    private String iUOrderStatus;
    private String checkByBatch;
    private String ECNControl;
    private String returnsWarehousingByResult;
    private String reviewGrossWeight;
    private String inspectionType;
    private String accountingByItem;
    private String warehousingByResult;
    private String exemption;
    private String keySubPart;
    private String checkByCost;
    private String bindCarrier;
    private String logisticsRelated;
    private String periodicalInspection;
    private String allowStorePurchase;
    private String specialCarTransport;
    private String weigh;
    private String utility;

    private boolean iStatus; //商城上架, true:是、false:否、
    private boolean stopstatus; //启用状态, false:启用、true:停用
    private int directProduction;
    private int fullSetInspection;
    private int testRule;
    private int enableSparePartsManagement;

    private String eventNotify_status;
    private String isEnabled;
    private String isStop;
    private Integer expireDateNo;  //保质期
    private String expireDateUnit; //保质期单位, 1:年、2:月、6:天
    private Integer isExpiryDateCalculationMethod; //0日 1月 2不推算
    private Integer daysBeforeValidityReject;  //近效期拒收天数
    private Integer validityWarningDays; //近效期预警天数

    public String getEventNotify_status() {
        return eventNotify_status;
    }

    public void setEventNotify_status(String eventNotify_status) {
        this.eventNotify_status = eventNotify_status;
    }

    public String getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(String isEnabled) {
        this.isEnabled = isEnabled;
    }

    public boolean isiStatus() {
        return iStatus;
    }

    public void setiStatus(boolean iStatus) {
        this.iStatus = iStatus;
        this.isEnabled = String.format("%s", !iStatus);
    }


    public String getIsStop() {
        return isStop;
    }

    public void setIsStop(String isStop) {
        this.isStop = isStop;
    }

    public boolean isStopstatus() {
        return stopstatus;
    }

    public void setStopstatus(boolean stopstatus) {
        this.stopstatus = stopstatus;
        this.isStop = String.format("%s", !stopstatus);
    }

    public Integer getExpireDateNo() {
        return expireDateNo;
    }

    public void setExpireDateNo(Integer expireDateNo) {
        this.expireDateNo = expireDateNo;
    }

    public String getExpireDateUnit() {
        return expireDateUnit;
    }

    public void setExpireDateUnit(String expireDateUnit) {
        this.expireDateUnit = expireDateUnit;
    }

    public Integer getIsExpiryDateCalculationMethod() {
        return isExpiryDateCalculationMethod;
    }

    public void setIsExpiryDateCalculationMethod(Integer isExpiryDateCalculationMethod) {
        this.isExpiryDateCalculationMethod = isExpiryDateCalculationMethod;
    }

    public Integer getDaysBeforeValidityReject() {
        return daysBeforeValidityReject;
    }

    public void setDaysBeforeValidityReject(Integer daysBeforeValidityReject) {
        this.daysBeforeValidityReject = daysBeforeValidityReject;
    }

    public Integer getValidityWarningDays() {
        return validityWarningDays;
    }

    public void setValidityWarningDays(Integer validityWarningDays) {
        this.validityWarningDays = validityWarningDays;
    }


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getProductApplyRangeId() {
        return productApplyRangeId;
    }

    public void setProductApplyRangeId(long productApplyRangeId) {
        this.productApplyRangeId = productApplyRangeId;
    }

    public long getRequireUnit() {
        return requireUnit;
    }

    public void setRequireUnit(long requireUnit) {
        this.requireUnit = requireUnit;
    }

    public long getProduceUnit() {
        return produceUnit;
    }

    public void setProduceUnit(long produceUnit) {
        this.produceUnit = produceUnit;
    }

    public long getInspectionUnit() {
        return inspectionUnit;
    }

    public void setInspectionUnit(long inspectionUnit) {
        this.inspectionUnit = inspectionUnit;
    }

    public long getPurchasePriceUnit() {
        return purchasePriceUnit;
    }

    public void setPurchasePriceUnit(long purchasePriceUnit) {
        this.purchasePriceUnit = purchasePriceUnit;
    }

    public long getBatchUnit() {
        return batchUnit;
    }

    public void setBatchUnit(long batchUnit) {
        this.batchUnit = batchUnit;
    }

    public long getOnlineUnit() {
        return onlineUnit;
    }

    public void setOnlineUnit(long onlineUnit) {
        this.onlineUnit = onlineUnit;
    }

    public long getPurchaseUnit() {
        return purchaseUnit;
    }

    public void setPurchaseUnit(long purchaseUnit) {
        this.purchaseUnit = purchaseUnit;
    }

    public long getOfflineUnit() {
        return offlineUnit;
    }

    public void setOfflineUnit(long offlineUnit) {
        this.offlineUnit = offlineUnit;
    }

    public long getBatchPriceUnit() {
        return batchPriceUnit;
    }

    public void setBatchPriceUnit(long batchPriceUnit) {
        this.batchPriceUnit = batchPriceUnit;
    }

    public long getStockUnit() {
        return stockUnit;
    }

    public void setStockUnit(long stockUnit) {
        this.stockUnit = stockUnit;
    }

    public int getDemandConsolidationDateType() {
        return demandConsolidationDateType;
    }

    public void setDemandConsolidationDateType(int demandConsolidationDateType) {
        this.demandConsolidationDateType = demandConsolidationDateType;
    }

    public int getBOMType() {
        return BOMType;
    }

    public void setBOMType(int BOMType) {
        this.BOMType = BOMType;
    }

    public int getServiceDurationUnit() {
        return serviceDurationUnit;
    }

    public void setServiceDurationUnit(int serviceDurationUnit) {
        this.serviceDurationUnit = serviceDurationUnit;
    }

    public int getDemandConsolidationUnit() {
        return demandConsolidationUnit;
    }

    public void setDemandConsolidationUnit(int demandConsolidationUnit) {
        this.demandConsolidationUnit = demandConsolidationUnit;
    }

    public int getStockUnit_Precision() {
        return stockUnit_Precision;
    }

    public void setStockUnit_Precision(int stockUnit_Precision) {
        this.stockUnit_Precision = stockUnit_Precision;
    }

    public int getWeighingMode() {
        return weighingMode;
    }

    public void setWeighingMode(int weighingMode) {
        this.weighingMode = weighingMode;
    }

    public int getBatchPolicy() {
        return batchPolicy;
    }

    public void setBatchPolicy(int batchPolicy) {
        this.batchPolicy = batchPolicy;
    }

    public int getDepositDealPayType() {
        return depositDealPayType;
    }

    public void setDepositDealPayType(int depositDealPayType) {
        this.depositDealPayType = depositDealPayType;
    }

    public int getBatchRule() {
        return batchRule;
    }

    public void setBatchRule(int batchRule) {
        this.batchRule = batchRule;
    }

    public int getPlanDefaultAttribute() {
        return planDefaultAttribute;
    }

    public void setPlanDefaultAttribute(int planDefaultAttribute) {
        this.planDefaultAttribute = planDefaultAttribute;
    }

    public int getDemandConsolidationType() {
        return demandConsolidationType;
    }

    public void setDemandConsolidationType(int demandConsolidationType) {
        this.demandConsolidationType = demandConsolidationType;
    }

    public int getRetailPriceDimension() {
        return retailPriceDimension;
    }

    public void setRetailPriceDimension(int retailPriceDimension) {
        this.retailPriceDimension = retailPriceDimension;
    }

    public String getSaleChannel() {
        return saleChannel;
    }

    public void setSaleChannel(String saleChannel) {
        this.saleChannel = saleChannel;
    }

    public String getPurchaseUnit_Name() {
        return purchaseUnit_Name;
    }

    public void setPurchaseUnit_Name(String purchaseUnit_Name) {
        this.purchaseUnit_Name = purchaseUnit_Name;
    }

    public String getBatchUnit_Name() {
        return batchUnit_Name;
    }

    public void setBatchUnit_Name(String batchUnit_Name) {
        this.batchUnit_Name = batchUnit_Name;
    }

    public String getPurchasePriceUnit_Name() {
        return purchasePriceUnit_Name;
    }

    public void setPurchasePriceUnit_Name(String purchasePriceUnit_Name) {
        this.purchasePriceUnit_Name = purchasePriceUnit_Name;
    }

    public String getOnlineUnit_Name() {
        return onlineUnit_Name;
    }

    public void setOnlineUnit_Name(String onlineUnit_Name) {
        this.onlineUnit_Name = onlineUnit_Name;
    }

    public String getInspectionUnit_Name() {
        return inspectionUnit_Name;
    }

    public void setInspectionUnit_Name(String inspectionUnit_Name) {
        this.inspectionUnit_Name = inspectionUnit_Name;
    }

    public String getSaleStyle() {
        return saleStyle;
    }

    public void setSaleStyle(String saleStyle) {
        this.saleStyle = saleStyle;
    }

    public String getOfflineUnit_Name() {
        return offlineUnit_Name;
    }

    public void setOfflineUnit_Name(String offlineUnit_Name) {
        this.offlineUnit_Name = offlineUnit_Name;
    }

    public String getBusinessAttribute() {
        return businessAttribute;
    }

    public void setBusinessAttribute(String businessAttribute) {
        this.businessAttribute = businessAttribute;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getMnemonicCode() {
        return mnemonicCode;
    }

    public void setMnemonicCode(String mnemonicCode) {
        this.mnemonicCode = mnemonicCode;
    }

    public String getBatchPrice() {
        return batchPrice;
    }

    public void setBatchPrice(String batchPrice) {
        this.batchPrice = batchPrice;
    }

    public String getfLowestMarkPrice() {
        return fLowestMarkPrice;
    }

    public void setfLowestMarkPrice(String fLowestMarkPrice) {
        this.fLowestMarkPrice = fLowestMarkPrice;
    }

    public String getProduceUnit_Name() {
        return produceUnit_Name;
    }

    public void setProduceUnit_Name(String produceUnit_Name) {
        this.produceUnit_Name = produceUnit_Name;
    }

    public String getRequireUnit_Name() {
        return requireUnit_Name;
    }

    public void setRequireUnit_Name(String requireUnit_Name) {
        this.requireUnit_Name = requireUnit_Name;
    }

    public String getScanCountUnit() {
        return scanCountUnit;
    }

    public void setScanCountUnit(String scanCountUnit) {
        this.scanCountUnit = scanCountUnit;
    }

    public String getStockUnit_Name() {
        return stockUnit_Name;
    }

    public void setStockUnit_Name(String stockUnit_Name) {
        this.stockUnit_Name = stockUnit_Name;
    }

    public String getBatchPriceUnit_Name() {
        return batchPriceUnit_Name;
    }

    public void setBatchPriceUnit_Name(String batchPriceUnit_Name) {
        this.batchPriceUnit_Name = batchPriceUnit_Name;
    }

    public String getPubts() {
        return pubts;
    }

    public void setPubts(String pubts) {
        this.pubts = pubts;
    }

    public int getDepositPayType() {
        return depositPayType;
    }

    public void setDepositPayType(int depositPayType) {
        this.depositPayType = depositPayType;
    }

    public int getValueManageType() {
        return valueManageType;
    }

    public void setValueManageType(int valueManageType) {
        this.valueManageType = valueManageType;
    }

    public int getDemandConsolidationNumber() {
        return demandConsolidationNumber;
    }

    public void setDemandConsolidationNumber(int demandConsolidationNumber) {
        this.demandConsolidationNumber = demandConsolidationNumber;
    }

    public int getDeliverQuantityChange() {
        return deliverQuantityChange;
    }

    public void setDeliverQuantityChange(int deliverQuantityChange) {
        this.deliverQuantityChange = deliverQuantityChange;
    }

    public int getSupplyType() {
        return supplyType;
    }

    public void setSupplyType(int supplyType) {
        this.supplyType = supplyType;
    }

    public int getDemandConsolidation() {
        return demandConsolidation;
    }

    public void setDemandConsolidation(int demandConsolidation) {
        this.demandConsolidation = demandConsolidation;
    }

    public int getOrderAdvanceTime() {
        return orderAdvanceTime;
    }

    public void setOrderAdvanceTime(int orderAdvanceTime) {
        this.orderAdvanceTime = orderAdvanceTime;
    }

    public int getEnableStockPeriodRecheck() {
        return enableStockPeriodRecheck;
    }

    public void setEnableStockPeriodRecheck(int enableStockPeriodRecheck) {
        this.enableStockPeriodRecheck = enableStockPeriodRecheck;
    }

    public int getPlanMethod() {
        return planMethod;
    }

    public void setPlanMethod(int planMethod) {
        this.planMethod = planMethod;
    }

    public int getIsCheckFree() {
        return isCheckFree;
    }

    public void setIsCheckFree(int isCheckFree) {
        this.isCheckFree = isCheckFree;
    }

    public int getLossType() {
        return lossType;
    }

    public void setLossType(int lossType) {
        this.lossType = lossType;
    }

    public int getEnableStockExpireCheck() {
        return enableStockExpireCheck;
    }

    public void setEnableStockExpireCheck(int enableStockExpireCheck) {
        this.enableStockExpireCheck = enableStockExpireCheck;
    }

    public int getSupplyDemandPolicy() {
        return supplyDemandPolicy;
    }

    public void setSupplyDemandPolicy(int supplyDemandPolicy) {
        this.supplyDemandPolicy = supplyDemandPolicy;
    }

    public Boolean getReservation() {
        return reservation;
    }

    public void setReservation(Boolean reservation) {
        this.reservation = reservation;
    }

    public Boolean getVirtualPart() {
        return virtualPart;
    }

    public void setVirtualPart(Boolean virtualPart) {
        this.virtualPart = virtualPart;
    }

    public Boolean getEnableDeposit() {
        return enableDeposit;
    }

    public void setEnableDeposit(Boolean enableDeposit) {
        this.enableDeposit = enableDeposit;
    }

    public Boolean getEnableSubscribe() {
        return enableSubscribe;
    }

    public void setEnableSubscribe(Boolean enableSubscribe) {
        this.enableSubscribe = enableSubscribe;
    }

    public Boolean getFixedReturn() {
        return fixedReturn;
    }

    public void setFixedReturn(Boolean fixedReturn) {
        this.fixedReturn = fixedReturn;
    }

    public Boolean getRecommend() {
        return isRecommend;
    }

    public void setRecommend(Boolean recommend) {
        isRecommend = recommend;
    }

    public Boolean getCanOrder() {
        return canOrder;
    }

    public void setCanOrder(Boolean canOrder) {
        this.canOrder = canOrder;
    }

    public Boolean getCanSale() {
        return canSale;
    }

    public void setCanSale(Boolean canSale) {
        this.canSale = canSale;
    }

    public Boolean getOnlyOrder() {
        return onlyOrder;
    }

    public void setOnlyOrder(Boolean onlyOrder) {
        this.onlyOrder = onlyOrder;
    }

    public Boolean getiEnableCyclePurchase() {
        return iEnableCyclePurchase;
    }

    public void setiEnableCyclePurchase(Boolean iEnableCyclePurchase) {
        this.iEnableCyclePurchase = iEnableCyclePurchase;
    }

    public Boolean getMaterialCost() {
        return materialCost;
    }

    public void setMaterialCost(Boolean materialCost) {
        this.materialCost = materialCost;
    }

    public Boolean getSpecialMaterials() {
        return specialMaterials;
    }

    public void setSpecialMaterials(Boolean specialMaterials) {
        this.specialMaterials = specialMaterials;
    }

    public Boolean getSalesReturnsExemption() {
        return salesReturnsExemption;
    }

    public void setSalesReturnsExemption(Boolean salesReturnsExemption) {
        this.salesReturnsExemption = salesReturnsExemption;
    }

    public Boolean getAllowNegativeInventory() {
        return allowNegativeInventory;
    }

    public void setAllowNegativeInventory(Boolean allowNegativeInventory) {
        this.allowNegativeInventory = allowNegativeInventory;
    }

    public String getIsExpiryDateManage() {
        return isExpiryDateManage;
    }

    public void setIsExpiryDateManage(String isExpiryDateManage) {
        this.isExpiryDateManage = isExpiryDateManage;
    }

    public String getIsBarcodeManage() {
        return isBarcodeManage;
    }

    public void setIsBarcodeManage(String isBarcodeManage) {
        this.isBarcodeManage = isBarcodeManage;
    }

    public String getIsSerialNoManage() {
        return isSerialNoManage;
    }

    public void setIsSerialNoManage(String isSerialNoManage) {
        this.isSerialNoManage = isSerialNoManage;
    }

    public String getIsDisplayPrice() {
        return isDisplayPrice;
    }

    public void setIsDisplayPrice(String isDisplayPrice) {
        this.isDisplayPrice = isDisplayPrice;
    }

    public String getIsWeight() {
        return isWeight;
    }

    public void setIsWeight(String isWeight) {
        this.isWeight = isWeight;
    }

    public String getIsPriceChangeAllowed() {
        return isPriceChangeAllowed;
    }

    public void setIsPriceChangeAllowed(String isPriceChangeAllowed) {
        this.isPriceChangeAllowed = isPriceChangeAllowed;
    }

    public String getIsSaleInOfflineStore() {
        return isSaleInOfflineStore;
    }

    public void setIsSaleInOfflineStore(String isSaleInOfflineStore) {
        this.isSaleInOfflineStore = isSaleInOfflineStore;
    }

    public String getIsMaterial() {
        return isMaterial;
    }

    public void setIsMaterial(String isMaterial) {
        this.isMaterial = isMaterial;
    }

    public String getIsProcess() {
        return isProcess;
    }

    public void setIsProcess(String isProcess) {
        this.isProcess = isProcess;
    }

    public String getIsOfflineStoreReturn() {
        return isOfflineStoreReturn;
    }

    public void setIsOfflineStoreReturn(String isOfflineStoreReturn) {
        this.isOfflineStoreReturn = isOfflineStoreReturn;
    }

    public String getIsAllArea() {
        return isAllArea;
    }

    public void setIsAllArea(String isAllArea) {
        this.isAllArea = isAllArea;
    }

    public String getIsOfflineStoreOrder() {
        return isOfflineStoreOrder;
    }

    public void setIsOfflineStoreOrder(String isOfflineStoreOrder) {
        this.isOfflineStoreOrder = isOfflineStoreOrder;
    }

    public String getPrepareFeed() {
        return prepareFeed;
    }

    public void setPrepareFeed(String prepareFeed) {
        this.prepareFeed = prepareFeed;
    }

    public String getEnablemodifyDeposit() {
        return enablemodifyDeposit;
    }

    public void setEnablemodifyDeposit(String enablemodifyDeposit) {
        this.enablemodifyDeposit = enablemodifyDeposit;
    }

    public String getiEnableEcontract() {
        return iEnableEcontract;
    }

    public void setiEnableEcontract(String iEnableEcontract) {
        this.iEnableEcontract = iEnableEcontract;
    }

    public String getiUOrderStatus() {
        return iUOrderStatus;
    }

    public void setiUOrderStatus(String iUOrderStatus) {
        this.iUOrderStatus = iUOrderStatus;
    }

    public String getCheckByBatch() {
        return checkByBatch;
    }

    public void setCheckByBatch(String checkByBatch) {
        this.checkByBatch = checkByBatch;
    }

    public String getECNControl() {
        return ECNControl;
    }

    public void setECNControl(String ECNControl) {
        this.ECNControl = ECNControl;
    }

    public String getReturnsWarehousingByResult() {
        return returnsWarehousingByResult;
    }

    public void setReturnsWarehousingByResult(String returnsWarehousingByResult) {
        this.returnsWarehousingByResult = returnsWarehousingByResult;
    }

    public String getReviewGrossWeight() {
        return reviewGrossWeight;
    }

    public void setReviewGrossWeight(String reviewGrossWeight) {
        this.reviewGrossWeight = reviewGrossWeight;
    }

    public String getInspectionType() {
        return inspectionType;
    }

    public void setInspectionType(String inspectionType) {
        this.inspectionType = inspectionType;
    }

    public String getAccountingByItem() {
        return accountingByItem;
    }

    public void setAccountingByItem(String accountingByItem) {
        this.accountingByItem = accountingByItem;
    }

    public String getWarehousingByResult() {
        return warehousingByResult;
    }

    public void setWarehousingByResult(String warehousingByResult) {
        this.warehousingByResult = warehousingByResult;
    }

    public String getExemption() {
        return exemption;
    }

    public void setExemption(String exemption) {
        this.exemption = exemption;
    }

    public String getKeySubPart() {
        return keySubPart;
    }

    public void setKeySubPart(String keySubPart) {
        this.keySubPart = keySubPart;
    }

    public String getCheckByCost() {
        return checkByCost;
    }

    public void setCheckByCost(String checkByCost) {
        this.checkByCost = checkByCost;
    }

    public String getBindCarrier() {
        return bindCarrier;
    }

    public void setBindCarrier(String bindCarrier) {
        this.bindCarrier = bindCarrier;
    }

    public String getLogisticsRelated() {
        return logisticsRelated;
    }

    public void setLogisticsRelated(String logisticsRelated) {
        this.logisticsRelated = logisticsRelated;
    }

    public String getPeriodicalInspection() {
        return periodicalInspection;
    }

    public void setPeriodicalInspection(String periodicalInspection) {
        this.periodicalInspection = periodicalInspection;
    }

    public String getAllowStorePurchase() {
        return allowStorePurchase;
    }

    public void setAllowStorePurchase(String allowStorePurchase) {
        this.allowStorePurchase = allowStorePurchase;
    }

    public String getSpecialCarTransport() {
        return specialCarTransport;
    }

    public void setSpecialCarTransport(String specialCarTransport) {
        this.specialCarTransport = specialCarTransport;
    }

    public String getWeigh() {
        return weigh;
    }

    public void setWeigh(String weigh) {
        this.weigh = weigh;
    }

    public String getUtility() {
        return utility;
    }

    public void setUtility(String utility) {
        this.utility = utility;
    }

    public int getDirectProduction() {
        return directProduction;
    }

    public void setDirectProduction(int directProduction) {
        this.directProduction = directProduction;
    }

    public int getFullSetInspection() {
        return fullSetInspection;
    }

    public void setFullSetInspection(int fullSetInspection) {
        this.fullSetInspection = fullSetInspection;
    }

    public int getTestRule() {
        return testRule;
    }

    public void setTestRule(int testRule) {
        this.testRule = testRule;
    }

    public int getEnableSparePartsManagement() {
        return enableSparePartsManagement;
    }

    public void setEnableSparePartsManagement(int enableSparePartsManagement) {
        this.enableSparePartsManagement = enableSparePartsManagement;
    }


    private Object receiptName;
    private Object displayName;

    public String getReceiptName() {
        if (receiptName == null) return null;
        if (receiptName instanceof Object) {
            NameBean obj = null;
            try {
                obj = JSONObject.parseObject(JSONObject.toJSONString(receiptName), NameBean.class);
            } catch (Exception ex) {
            }
            if (obj != null)
                return obj.getZh_CN();
            else return receiptName.toString();
        } else return receiptName.toString();
    }

    public void setReceiptName(Object receiptName) {
        NameBean obj = new NameBean();
        if (receiptName instanceof String) {
            obj.setZh_CN(receiptName.toString());
        } else {
            obj = JSONObject.parseObject(JSONObject.toJSONString(receiptName), NameBean.class);
        }
        this.receiptName = obj;
    }

    public String getDisplayName() {
        if (displayName == null) return null;
        if (displayName instanceof Object) {
            NameBean obj = null;
            try {
                obj = JSONObject.parseObject(JSONObject.toJSONString(displayName), NameBean.class);
            } catch (Exception ex) {
            }
            if (obj != null)
                return obj.getZh_CN();
            else return displayName.toString();
        } else return displayName.toString();
    }

    public void setDisplayName(Object displayName) {
        NameBean obj = new NameBean();
        if (displayName instanceof String) {
            obj.setZh_CN(displayName.toString());
        } else {
            obj = JSONObject.parseObject(JSONObject.toJSONString(displayName), NameBean.class);
        }
        this.displayName = obj;
    }
}
